package cn.tedu.crm.user.mapper;

import cn.tedu.crm.user.pojo.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author tedu
* @description 针对表【user_role】的数据库操作Mapper
* @createDate 2025-03-18 08:50:35
* @Entity cn.tedu.crm.user.pojo.entity.UserRole
*/
public interface UserRoleMapper extends BaseMapper<UserRole> {


    List<Long> selectRoleIdsByUserId(Long id);

    void deleteByUserId(Long id);
}




